<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript">
	$(document).ready(function() {
		// init tabs
		$("a.button").button();

		// set tabs actions
		// store
		$("#storeTab").bind("click", function() {
			var settings = {
				"path" : "jsp/store/main.jsp",
				"loadTo" : $("#content")
			};
			Content.load(settings);
		});

		// item
		$("#itemTab").bind("click", function() {
			var settings = {
				"path" : "jsp/item/main.jsp",
				"loadTo" : $("#content")
			};
			Content.load(settings);
		});

		// depo
		$("#depositTab").bind("click", function() {
			var settings = {
				"path" : "jsp/deposit/main.jsp",
				"loadTo" : $("#content")
			};
			Content.load(settings);
		});

		// item
		$("#employeeTab").bind("click", function() {
			var settings = {
				"path" : "jsp/employee/main.jsp",
				"loadTo" : $("#content")
			};
			Content.load(settings);
		});
	});
</script>
</head>
<body>
	<div class="_header">
		<div class="_headerN">
			<div class="container">
				<ul>
					<li class="last"><a title="Logout"
						href="j_spring_security_logout">Logout</a></li>
					<li>Role</li>
					<li class="first">admin </li>
				</ul>
			</div>
		</div>
		<div class="container">
			<div class="_headerL">
				<img src="" alt="LOGO" title="Logo" />
			</div>
			<div class="_headerC">MSG</div>
			<div class="_headerR">Events</div>
		</div>
		<div class="_headerS">
			<div class="container">
				<a class="button" id="storeTab" href="#!store" title="">Stores</a> 
				<a class="button" id="itemTab" href="#!item" title="">Items</a> 
				<a class="button" id="depositTab" href="#!deposit" title="">Deposits</a> 
				<a class="button" id="employeeTab" href="#!employee" title="">Employees</a>
			</div>
		</div>
	</div>

</body>
</html>